<?php

namespace app\app\validate\user;

use think\Validate;

class LoginValidate extends Validate
{
    protected $rule = [
        'username' => 'require',
        'password' => 'require',
    ];


    protected $message = [
        'username' => 'The account cannot be empty',
        'password' => 'The password cannot be empty',
    ];


    protected $scene = [
        'logins' => ['username', 'password'],
    ];


}